<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2022/8/27
  Time: 11:30
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>修改</title>
    <script src="statics/layui.js"></script>
    <link rel="stylesheet" href="statics/css/layui.css">
</head>
<body>
<form method="post" action="upd1" style="padding-left: 600px">
    <div>
        <h2 style="padding-left: 200px">修改页面</h2>
        <input type="hidden" name="fruitId" value="${fruit.fruitId}" lay-verify="required" autocomplete="off"
               class="layui-input">
        <table style="width: 500px;" class="layui-table">
            <tr>
                <td>类别:</td>
                <td><input type="text" name="type" value="${fruit.type}" required placeholder="请输入类别"
                           lay-verify="required" autocomplete="off" class="layui-input"></td>
            </tr>
            <tr>
                <td>品种:</td>
                <td><input type="text" name="breed" value="${fruit.breed}" required placeholder="请输入品种"
                           lay-verify="required" autocomplete="off" class="layui-input"></td>
            </tr>
            <tr>
                <td>产地:</td>
                <td><input type="text" name="area" value="${fruit.area}" required placeholder="请输入产地"
                           lay-verify="required" autocomplete="off" class="layui-input"></td>
            </tr>
            <tr>
                <td>简介:</td>
                <td><input type="text" name="brief" value="${fruit.brief}" required placeholder="请输入简介"
                           lay-verify="required" autocomplete="off" class="layui-input"></td>
            </tr>
            <tr>
                <td>重量:</td>
                <td><input type="text" name="weight" value="${fruit.weight}" required placeholder="请输入重量"
                           lay-verify="required" autocomplete="off" class="layui-input"></td>
            </tr>
            <tr>
                <td>价格:</td>
                <td><input type="text" name="price" value="${fruit.price}" required placeholder="请输入价格"
                           lay-verify="required" autocomplete="off" class="layui-input"></td>
            </tr>
            <tr>
                <td colspan="2" style="padding-left: 170px">
                    <a href="list">返回</a>
                    <input type="submit" value="修改" class="layui-btn">
                </td>
            </tr>
        </table>
    </div>
</form>
</body>
</html>
